package module.storage.service;

import org.springframework.cache.annotation.Cacheable;

import javax.annotation.Resource;
import java.util.List;

public class StorageSourceConfigService {
    @Resource
    private StorageSourceConfigMapper storageSourceConfigMapper;

    @Resource
    private StorageSourceConfigService storageSourceConfigService;
    /**
     * 根据存储源 ID 查询存储源拓展配置, 并按照存储源 id 排序
     *
     * @param   storageId
     *          存储源 ID
     *
     * @return  存储源拓展配置列表
     */
    @Cacheable(key = "#storageId", unless = "#result == null or #result.size() == 0")
    public List<StorageSourceConfig> selectStorageConfigByStorageId(Integer storageId) {

    }
}
